package nil.ed.simulator.request.ui.jfx.ui.table.annotation;

import nil.ed.simulator.request.ui.jfx.ui.table.DefaultTableCallback;
import nil.ed.simulator.request.ui.jfx.ui.table.TableCallback;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author lidelin.
 */
@Documented
@Target({FIELD, TYPE})
@Retention(RUNTIME)
public @interface TableConfig {
    Class<? extends TableCallback> callback() default DefaultTableCallback.class;
}
